package com.qdlc.p2p.dal.dao;

import com.qdlc.p2p.dal.common.dao.BaseDao;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.AdditionalUserDrawLottery;
import com.qdlc.p2p.dal.model.AdditionalUserDrawLotteryModel;

/**
 * Created by wuaj on 2015/11/17.
 */
public interface AdditionalUserDrawLotteryDao extends BaseDao<AdditionalUserDrawLottery> {
    AdditionalUserDrawLottery getValidDrawLotteryByUserId(long userId);

    PageDataList<AdditionalUserDrawLotteryModel> list(AdditionalUserDrawLotteryModel model);

    int doInvalid(int status, long userLotteryId);
}
